package com.ruibang.glass.produce.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruibang.glass.produce.domain.req.PackagingRecordsReq;
import com.ruibang.glass.produce.entity.PackagingRecords;
import com.teaming.cloud.framework2.autoconfigure.dynamic.datasource.annotation.DS;
import com.teaming.cloud.framework2.autoconfigure.mybatisplus.mapper.CommonMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PackagingRecordsMapper extends CommonMapper<PackagingRecords> {

    @DS("cold1_bc2mes")
    IPage<PackagingRecords> pageQuery(Page<PackagingRecords> page,@Param("packagingRecordsReq") PackagingRecordsReq packagingRecordsReq);

}
